@echo off
chcp 65001 >nul
echo ========================================
echo   通过ADB恢复手机动画（恢复默认）
echo ========================================
echo.

echo [1/4] 检查ADB连接...
adb devices
echo.

echo [2/4] 恢复窗口动画（1x）...
adb shell settings put global window_animation_scale 1
echo ✓ 窗口动画已恢复

echo [3/4] 恢复过渡动画（1x）...
adb shell settings put global transition_animation_scale 1
echo ✓ 过渡动画已恢复

echo [4/4] 恢复动画程序时长（1x）...
adb shell settings put global animator_duration_scale 1
echo ✓ 动画程序时长已恢复

echo.
echo ========================================
echo   ✅ 所有动画已恢复为默认值（1x）
echo ========================================
echo.
echo 提示：如需再次关闭动画，请运行"关闭手机动画.bat"
echo.
pause

